package com.example.commonutils.constants;

public class MqConstants {
    //    交换机
    public final static String LEARN_EXCHANGE = "learn.topic";
    //    监听新增和修改的队列
    public final static String LEARN_INSERT_QUEUE = "learn.insert.queue";
    //    监听删除队列
    public final static String LEARN_DELETE_QUEUE = "learn.delete.queue";
    //    新增或修改的RoutingKey
    public final static String LEARN_INSERT_KEY = "learn.insert";
    //    删除的RoutingKey
    public final static String LEARN_DELETE_KEY = "learn.delete";

    //    交换机
    public final static String ARTICLE_EXCHANGE = "article.topic";
    //    监听新增和修改的队列
    public final static String ARTICLE_INSERT_QUEUE = "article.insert.queue";
    //    监听删除队列
    public final static String ARTICLE_DELETE_QUEUE = "article.delete.queue";
    //    新增或修改的RoutingKey
    public final static String ARTICLE_INSERT_KEY = "article.insert";
    //    删除的RoutingKey
    public final static String ARTICLE_DELETE_KEY = "article.delete";
}
